import Vue from "vue";
import VueRouter from "vue-router";
// import HomeView from "../views/HomeView.vue";

Vue.use(VueRouter);

const routes = [
  {
 path:'/button',
 component:()=>import('../pages/button')
  },
  {
 path:'/goods',
 component:()=>import('../pages/goods')
  },
  {
 path:'/modal',
 component:()=>import('../pages/modal')
  },
  {
 path:'/tab',
 component:()=>import('../pages/tab')
  },

];

const router = new VueRouter({
  routes,
});

export default router;
